package com.yy.domain;

import com.yy.common.annotation.Excel;
import com.yy.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 停车场对象 park
 * 
 * @author powernode
 * @date 2023-10-27
 */
public class Park extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 停车场名字 */
    @Excel(name = "停车场名字")
    private String name;

    /** 停车场照片 */
    @Excel(name = "停车场照片")
    private String image;

    /** 开始营业时间 */
    @Excel(name = "开始营业时间")
    private Long startBusinessHours;

    /** 结束营业时间 */
    @Excel(name = "结束营业时间")
    private Long endBusinessHours;

    /** 车位数 */
    @Excel(name = "车位数")
    private Integer parkingSpaceNumber;

    /** 已用车位数 */
    @Excel(name = "已用车位数")
    private Integer usedParkingSpaceNumber;

    /** 停车场地址 */
    @Excel(name = "停车场地址")
    private String address;

    /** 手机 */
    @Excel(name = "手机")
    private String phone;

    /** 状态(0-正常/1-车位已满/2-暂停营业) */
    @Excel(name = "状态(0-正常/1-车位已满/2-暂停营业)")
    private Integer status;

    /** 收费规则 */
    @Excel(name = "收费规则")
    private String ruleId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setStartBusinessHours(Long startBusinessHours) 
    {
        this.startBusinessHours = startBusinessHours;
    }

    public Long getStartBusinessHours() 
    {
        return startBusinessHours;
    }
    public void setEndBusinessHours(Long endBusinessHours) 
    {
        this.endBusinessHours = endBusinessHours;
    }

    public Long getEndBusinessHours() 
    {
        return endBusinessHours;
    }
    public void setParkingSpaceNumber(Integer parkingSpaceNumber) 
    {
        this.parkingSpaceNumber = parkingSpaceNumber;
    }

    public Integer getParkingSpaceNumber() 
    {
        return parkingSpaceNumber;
    }
    public void setUsedParkingSpaceNumber(Integer usedParkingSpaceNumber) 
    {
        this.usedParkingSpaceNumber = usedParkingSpaceNumber;
    }

    public Integer getUsedParkingSpaceNumber() 
    {
        return usedParkingSpaceNumber;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setRuleId(String ruleId) 
    {
        this.ruleId = ruleId;
    }

    public String getRuleId() 
    {
        return ruleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("image", getImage())
            .append("startBusinessHours", getStartBusinessHours())
            .append("endBusinessHours", getEndBusinessHours())
            .append("parkingSpaceNumber", getParkingSpaceNumber())
            .append("usedParkingSpaceNumber", getUsedParkingSpaceNumber())
            .append("address", getAddress())
            .append("phone", getPhone())
            .append("status", getStatus())
            .append("ruleId", getRuleId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
